M2I TOP SERIES communication driver

 

M2I TOP Series communication driver is the driver to communicate with TOP5SAD/TOP5TAS series touch panel of M2I Coporation in Korea.

 

1. Read Settings

 

<Figure 1> is read setting example of M2I TOP Series communication driver.

<Figure 1>  Read setting example of M2I TOP Series communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to controller.

 

Note) Station number, baud rate, .. of M2I TOP Series controller can set by using front panel.

 

M2I TOP Series communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 31 station address.

2) Read command – command = fixed to R. ( read od class 2 data )

3) Read start address – 0 ~ 9999 read start address.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – read size = 0 ~ 255.

 

Note) Data type, size, contents of Class 2 vary according to equipment.

 

Read schedule example)

 READ,     1,      R,  100,    0,  100,

 READ,     1,      R,  200, 100,   50, 

 

If you click the icon  in protocol option part, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of M2I TOP Series communication driver¡¯s Option dialog box

You can set read schedule by using , ,  button and listbox of <Figure 2>.

<Figure 3> Example of M2I TOP Series communication driver¡¯s read schedule Add/Edit dialog box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> will be shown.

 

2. Writing settings

 You can control M2I TOP series by using 'writing settings'. 

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 station address.

3)  ADDRESS          writing address.

higher 3 ~ 7 digit : word unit writing address(decimal unit).

lower  1 digit : 0 ~ F bit writing address. 

4)  Extra1                  Write command = fixed to W.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:2000, Extra1: W,  Extra2 : 0

The setting parameter shown above is a control(On, Off) example of 200 word, 0(1st) bit.

 

Write example 2)

PORT:0,  station:1, ADDRESS:2005, Extra1: W,  Extra2 : 0

The setting parameter shown above is a control(On, Off) example of 200 word, 5(6th) bit.

 

Write example 3)

PORT:0,  station:1, ADDRESS:200F, Extra1: W,  Extra2 : 0

The setting parameter shown above is a control(On, Off) example of 200 word, F(16th) bit.

 

Analog Write 

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 station address.

3)  ADDRESS          decimal unit writing address.

4)  Extra1                  Write command = fixed to W.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0100, Extra1: W,  Extra2 : 0

The setting parameter shown above is setting example of 100 word.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0150, Extra1: W,  Extra2 : 0

The setting parameter shown above is setting example of 150 word.

 

3. Connection of main power and communication cable

Connection of main power and communication cable are as follows.

 

 Connection of main power

Please connect +/- 24V DC main power to power connector(left) such as <Figure 4>.

 

Connection of communication cable

Please connect normal RS-232C communication cable to COM2 connector.

<Figure 5> is appearance of M2I TOP Series.

<Figure 4> Connection example of main power and communication cable to M2I TOP Series
<Figure 5> Appearance of M2I TOP Series